﻿using System.Collections.Generic;
using CoreLibrary.Repo;
using Entities.DataBase.Obj;
using Entities.DataBase.Persistent;

namespace Entities.DataBase {

    public interface IOrderRecordRepository : IRepository<OrderRecord> {

        void InsertAll(List<OrderRecord> records);
        void Add(OrderRecord record);
        List<OrderRecord> ListRecords(string customerId);
        List<OrderRecord> ListCompleteRecords();

        List<OrderRecord> ListRecordsByOrderGuid(string orderGuid);
        OrderRecordSummary GetRecordSummary(int stockId);
    }

}